</head>
<body>
<div class="f-sep10"></div>
<div class="f-sep10"></div>
<div class="m-hd m-tabs">
  <h2 class="u-tt">{$info.name}模型设置</h2>
  <ul id="tabs">
    <li> <a class="z-crt" href="#tab1"><span class="icon">&#xf05a;</span> 模型设置</a></li>
  </ul>
</div>
<div class="f-sep10"></div>
<div class="m-form">
  <form name="xxx" action="{$url(model_manage/setting_save)}" method="post" id="form">
    <fieldset>
      <div class="formitm">
        <label class="lab" >模型名称：</label>
        <div class="ipt">
          <input name="name" type="text" class="u-ipt" id="name" value="{$info.name}" datatype="s1-10" errormsg="模型名称至少1~10个字符！" />
          <span class="Validform_checktip"></span> </div>
      </div>
      <div class="formitm">
        <label class="lab" >默认栏目模板：</label>
        <div class="ipt">
          <input name="tpl_category" type="text" class="u-ipt" id="tpl_category" value="{$info.tpl_category}"  datatype="s1-20"  errormsg="模板名至少1~20个字符！" />
          <span class="Validform_checktip">添加栏目时的默认栏目模板选择</span> </div>
      </div>
      <div class="formitm">
        <label class="lab" >默认内容模板：</label>
        <div class="ipt">
          <input name="tpl_content" type="text" class="u-ipt" id="tpl_content" value="{$info.tpl_content}"  datatype="s1-20" errormsg="模板名至少1~20个字符！" />
          <span class="Validform_checktip">添加栏目时的默认内容模板选择</span> </div>
      </div>
      <div class="formitm">
        <label class="lab" >默认栏目分页：</label>
        <div class="ipt">
          <input name="category_page" type="text" class="u-ipt" id="category_page" value="{$info.category_page}" datatype="n"  errormsg="请输入正确的分页数！" />
          <span class="Validform_checktip">添加栏目时的默认内容分页数</span> </div>
      </div>
      <div class="formitm">
        <label class="lab" >内容来源：</label>
        <div class="ipt">
          <textarea name="content_befrom" class="u-itt" id="content_befrom" >{$info.content_befrom}</textarea>
          <span class="Validform_checktip">添加内容时来源一行一个</span> </div>
      </div>
      <div class="formitm formitm-1">
        <input name="mid" type="hidden" value="{$info.mid}" />
        <button class="u-btn" id="submit" type="submit">保存修改</button>
        <button class="u-btn u-btn-c4" id="reset" type="button">重置</button>
        <span id="tip" class="load"></span> </div>
    </fieldset>
  </form>
</div>
</body>
<script>
Do.ready('base','form', function() {
	saveform('{$url(index/index)}');
});
</script>